package com.tzz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class GoodsArriveMsg {
    @NotNull
    private Integer stationId;


    @NotNull
    private Integer orderType;

    private String orderId;

    @NotNull
    private Long cargoWarehouseId;
    @NotNull
    private Integer deliveryMode;
    @NotEmpty
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date leaveStoreTime;
    @NotEmpty
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date logisticsArriveTime;
}
